//
//  UIView+Extension.h
//  黑马微博2期
//
//  Created by apple on 14-10-7.
//  Copyright (c) 2014年 heima. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Extension)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;

- (UIViewController *)parentController;
/**
 *    好像又么有问题 了 之前测试有问题   modal展现方式的底层视图不同    // 取到第一层时，取到的是UITransitionView，通过这个view拿不到控制器
 *
 *  @return <#return value description#>
 */
+ (UIViewController *)currentViewController;





//xhq




@end
